package ru.rchervot.sanasar.client.gin;

import ru.rchervot.sanasar.client.view.RecordEditCandidatesPresenter;
import ru.rchervot.sanasar.client.view.RecordEditPresenter;

import com.google.gwt.event.shared.HandlerManager;
import com.google.inject.Inject;
import com.google.inject.Provider;

public class ProviderRecordEditPresenterCandidates implements Provider<RecordEditPresenter> {
	@Inject RecordEditCandidatesPresenter.Display view;
	@Inject HandlerManager eventBus;

	@Override
	public RecordEditPresenter get() {
		return new RecordEditCandidatesPresenter(view, eventBus);
	}
}
